package com.yidi.system.service;

import com.yidi.system.domain.SysUserRole;
import java.util.List;

/**
 * @author ：Xn
 * @ClassName: SysUserRoleService
 * @date ：2021-10-19 14:13
 * @describe ：
 */
public interface SysUserRoleService {

    int countUserRoleByRoleId(Long roleId);

    void deleteUserRoleInfo(Long userId, Long roleId);

    void add(SysUserRole ur);

    void deleteUserRoleByUserId(Long userId);

    void batchUserRole(List<SysUserRole> userRoleList);

    void deleteUserRole(Long[] userIds);

    List<SysUserRole> findByUserId(Long userId);
}
